/*
 * =====================================================================================
 *
 *       Filename:  strstr.c
 *
 *    Description:  example strstr
 *
 *        Version:  1.0
 *        Created:  12/05/2012 01:45:28 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  YOUR NAME (), 
 *        Company:  
 *
 * =====================================================================================
 */
#include <stdio.h>
#include <string.h>


int main(int argc, char *argv[])
{
    char *str1 = "12345";
    char *str2 = "2";
    char *ptr;

    ptr = strstr(str1, str2);
    printf("ptr = %s\n", ptr);
    return 0;
}
